<!-- src/components/GlobalAudio.vue -->
<script setup>
import { onMounted } from "vue";
import { connect, unlockAudio, fillMain } from "@/composables/useAudioWS";

onMounted(async () => {
//   connect();          // 连接 /ws/audio
  unlockAudio();      // 解锁自动播放
  try { await fillMain(); } catch {}
});
</script>
<template><span style="display:none"></span></template>
